package com.nit.store.pojo.vo.output;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

/**
 * @Author J1ay
 * @Date 2022/7/21 13:32
 * @Description 用户登录后，传给前端信息
 */

@Data
public class LoginOutput {
    private Long uid;
    private String username;
    private String token;
    private String avatar;

    private String askUrl;

    public LoginOutput(Long uid, String username, String token, String avatar) {
        this.uid = uid;
        this.username = username;
        this.token = token;
        this.avatar = avatar;
    }
}
